<template>
    <div>
        <aaa @clickShow="handleClick"></aaa>
        <bbb v-show="isShow"></bbb>
    </div>
</template>

<script>
import aaa from './components/aaa.vue';
import bbb from './components/bbb.vue';
export default {
    data(){
        return {
            isShow:true
        }
    },
    components:{
        aaa,
        bbb
    },
    methods:{
        handleClick(){
            this.isShow=!this.isShow;
        }
    }
}
</script>